package com.hdax.dmw.user;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dmw.BaseTimeEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@TableName(value = "dm_user",schema = "dm_user")
@Getter
@Setter
public class DmUser extends BaseTimeEntity {

  @TableId(value = "id",type = IdType.AUTO)
  private Long id;
  private String phone;
  private String password;
  private String wxUserId;
  private String realName;
  private String nickName;
  private Long sex;
  private String hobby;
  private String idCard;
  private LocalDateTime birthday;

}
